package other;

import javax.annotation.PostConstruct;


public class TestComponent4 implements IComponent {
    public TestComponent4()
    {
        System.out.println("-----------------------------------------");
        System.out.println("TestCompoent4 default construct executed");
        System.out.println("-----------------------------------------");
    }

    public TestComponent4(String s)
    {
        System.out.println("-----------------------------------------");
        System.out.println("TestCompoent4 has parameter of string construct executed");
        System.out.println("-----------------------------------------");
    }

    @PostConstruct
    public void init()
    {
        System.out.println("-----------------------------------------");
        System.out.println("TestCompoent4 @PostConstruct annotated method executed");
        System.out.println("-----------------------------------------");
    }

    @Override
    public void doShit() {
        System.out.println("-----------------------------------------");
        System.out.println("TestCompoent4 doShit");
        System.out.println("-----------------------------------------");
    }
}
